package com.example.service;

import com.example.entity.dto.RespExpensesDTO;
import com.github.pagehelper.PageInfo;
import com.example.entity.Employee;
import com.example.entity.Expenses;
import com.example.entity.dto.AddExpensesDTO;

import java.util.List;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2023/12/27 20:34
 * @Version 1.0.0
 */
public interface ExpensesService {


    void addExpenses(AddExpensesDTO addExpensesDTO);

    List<String> getExpensesType();

    PageInfo<Expenses> getExpensesById(Expenses expenses, Integer pageNum, Integer pageSize);

    List<Expenses> selectAll(Expenses expenses);

    AddExpensesDTO getExpensesDataById(Integer expensesId);

    void updateExpenses(AddExpensesDTO addExpensesDTO);

    void deleteExpensesById(Integer id);

    void updateExpensesById(Expenses expenses);

    Expenses selectById(Integer id);

    RespExpensesDTO getDetailExpenseData(Integer id);
}
